/* eslint-disable */
/** 通用常量
 *
 */
const constCommon = {
  //耗材分类MAP
  // ['matr', 'reagent', 'drugs']

  mtrBaseTypeMap: {
    matr: {
      value: 'matr',
      text: '耗材',
    },
    reagent: {
      value: 'reagent',
      text: '试剂',
      tagType: 'success'
    },
    drugs: {
      value: 'drugs',
      text: '药品',
      tagType: 'warning'
    }
  },

  mtrBaseTypeList() {
    let list = []
    Object.keys(this.mtrBaseTypeMap).forEach(key => {
      list.push({value: this.mtrBaseTypeMap[key].value, text: this.mtrBaseTypeMap[key].text })
    })
    return list
  }
}

export default constCommon
